package com.shop.service;

import java.util.List;

import com.shop.dao.CommentDaoImpl;
import com.shop.entity.Comment;


public class CommentService {
	
	private CommentDaoImpl CommentDao = new CommentDaoImpl();
	
	public List<Comment> getAllComment() {
		return CommentDao.getAllComment();
	}
	
	public Comment addComment(Comment comment) {
		return CommentDao.addComment(comment);
	}
}
